package model;

import java.util.Date;
import model.Flight;

public class Booking {
	
	private int id;
	private Date dateOfBooking;
	private int flightIds;
	private int numOfSeats;
	private int userID;
	private double totalCost;
	private Flight flight;
	private String seatType;
	
	public Booking(int id, Date dateOfBooking, Flight flights, int numOfSeats,
			int userID, double totalCost, String seatType) {
		this.id = id;
		this.dateOfBooking = dateOfBooking;
		this.flight = flights;
		this.numOfSeats = numOfSeats;
		this.userID = userID;
		this.totalCost = totalCost;
		this.seatType = seatType;
	}

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public Date getDateOfBooking() {
		return dateOfBooking;
	
	}
	public void setDateOfBooking(Date dateOfBooking) {
		this.dateOfBooking = dateOfBooking;
	}
	
	public int getFlightIds() {
		return flightIds;
	}
	
	public void setFlightIds(int flightIds) {
		this.flightIds = flightIds;
	}
	
	public int getNumOfSeats() {
		return numOfSeats;
	}
	
	public void setNumOfSeats(int numOfSeats) {
		this.numOfSeats = numOfSeats;
	}
	
	public int getUserID() {
		return userID;
	}
	
	public void setUserID(int userID) {
		this.userID = userID;
	}
	
	public double getTotalCost() {
		return totalCost;
	}
	
	public void setTotalCost(double totalCost) {
		this.totalCost = totalCost;
	}

	public Flight getFlight() {
		return flight;
	}

	public void setFlight(Flight flight) {
		this.flight = flight;
	}

	public String getSeatType() {
		return seatType;
	}

	public void setSeatType(String seatType) {
		this.seatType = seatType;
	}
}
